[INFO] cloning repository https://github.com/yutiansut/quantaxis-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yutiansut/quantaxis-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutiansut%2Fquantaxis-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutiansut%2Fquantaxis-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fd33a7168351d1982d28326d3e9cd17d7d667f28
[INFO] building yutiansut/quantaxis-rs against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutiansut%2Fquantaxis-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yutiansut/quantaxis-rs on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yutiansut/quantaxis-rs
[INFO] finished tweaking git repo https://github.com/yutiansut/quantaxis-rs
[INFO] tweaked toml for git repo https://github.com/yutiansut/quantaxis-rs written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/yutiansut/quantaxis-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c2350ae420220a16ca61a8fe3dc611f6d2aaf099b0585d095da06ff03f1a5ae4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c2350ae420220a16ca61a8fe3dc611f6d2aaf099b0585d095da06ff03f1a5ae4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2350ae420220a16ca61a8fe3dc611f6d2aaf099b0585d095da06ff03f1a5ae4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2350ae420220a16ca61a8fe3dc611f6d2aaf099b0585d095da06ff03f1a5ae4", kill_on_drop: false }`
[INFO] [stdout] c2350ae420220a16ca61a8fe3dc611f6d2aaf099b0585d095da06ff03f1a5ae4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1f7d50719ed9e3d116949ac2a57776ed23e606eec17dabdf3b3e60c920e822f6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1f7d50719ed9e3d116949ac2a57776ed23e606eec17dabdf3b3e60c920e822f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.6.0
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.6
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.12
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling futures-io v0.3.12
[INFO] [stderr]    Compiling pin-project-lite v0.2.4
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-sink v0.3.12
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling pin-project-lite v0.1.11
[INFO] [stderr]    Compiling rustversion v1.0.4
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling object v0.23.0
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling async-task v4.0.3
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling serde_json v1.0.62
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling bencher v0.1.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling addr2line v0.14.1
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling futures-channel v0.3.12
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling async-lock v2.3.0
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling futures-task v0.3.12
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling matrixmultiply v0.2.4
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling futures-lite v1.11.3
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling async-channel v1.6.1
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling idna v0.2.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crossbeam-utils v0.8.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling err-derive v0.2.4
[INFO] [stderr]    Compiling async-executor v1.4.0
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.2
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling url v2.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling nb-connect v1.0.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling num-complex v0.1.43
[INFO] [stderr]    Compiling float-cmp v0.4.0
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling md-5 v0.8.0
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling num-bigint v0.1.44
[INFO] [stderr]    Compiling backtrace v0.3.56
[INFO] [stderr]    Compiling webpki-roots v0.18.0
[INFO] [stderr]    Compiling ndarray v0.13.1
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling stopwatch v0.0.7
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling darling_core v0.12.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling ctor v0.1.19
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling futures-macro v0.3.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling async-trait v0.1.42
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling typed-builder v0.4.1
[INFO] [stderr]    Compiling darling_macro v0.12.1
[INFO] [stderr]    Compiling futures-util v0.3.12
[INFO] [stderr]    Compiling darling v0.12.1
[INFO] [stderr]    Compiling serde_with_macros v1.4.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling polling v2.0.2
[INFO] [stderr]    Compiling rustls v0.17.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling os_info v3.0.1
[INFO] [stderr]    Compiling async-io v1.3.1
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling async-global-executor v2.0.2
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling async-std v1.9.0
[INFO] [stderr]    Compiling futures-executor v0.3.12
[INFO] [stderr]    Compiling futures v0.3.12
[INFO] [stderr]    Compiling trust-dns-proto v0.19.6
[INFO] [stderr]    Compiling tokio-rustls v0.13.1
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.6
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling serde_with v1.6.4
[INFO] [stderr]    Compiling bstr v0.2.15
[INFO] [stderr]    Compiling serde_bytes v0.10.5
[INFO] [stderr]    Compiling csv v1.1.5
[INFO] [stderr]    Compiling bson v1.2.0
[INFO] [stderr]    Compiling ndarray-csv v0.4.1
[INFO] [stderr]    Compiling mongodb v1.2.0
[INFO] [stderr]    Compiling qifi-rs v0.3.0
[INFO] [stderr]    Compiling quantaxis-rs v0.3.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f64::NAN`
[INFO] [stdout]  --> src/indicators/moving_average.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::NAN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaperformance.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaperformance.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QAPerformance_Single` should have an upper camel case name
[INFO] [stdout]   --> src/qaperformance.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct QAPerformance_Single {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaperformanceSingle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 43 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 65 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 prev_close => {
[INFO] [stdout]    |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 92 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/indicators/true_range.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 prev_close => {
[INFO] [stdout]     |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 115 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]     |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `message`
[INFO] [stdout]   --> src/qaposition.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) fn message(&self) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 50 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReaderBuilder`, `WriterBuilder`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use csv::{ReaderBuilder, WriterBuilder};
[INFO] [stdout]    |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> src/main.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::prelude::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stopwatch::Stopwatch`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stopwatch::Stopwatch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar`
[INFO] [stdout]   --> src/main.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_bar`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `message`
[INFO] [stdout]   --> src/qaposition.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) fn message(&self) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `create`
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn create() -> Self {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `init`
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn init(&mut self) {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `on_bar`
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `run`
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn run(&mut self) {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `day_open`
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn day_open(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `day_close`
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn day_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `on_backtest_close`
[INFO] [stdout]   --> src/main.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn on_backtest_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 58 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 09s
[INFO] running `Command { std: "docker" "inspect" "1f7d50719ed9e3d116949ac2a57776ed23e606eec17dabdf3b3e60c920e822f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f7d50719ed9e3d116949ac2a57776ed23e606eec17dabdf3b3e60c920e822f6", kill_on_drop: false }`
[INFO] [stdout] 1f7d50719ed9e3d116949ac2a57776ed23e606eec17dabdf3b3e60c920e822f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35ad0e732f72e1a95edd182260259170390c9e90752245afb4b7993a26af3e66
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "35ad0e732f72e1a95edd182260259170390c9e90752245afb4b7993a26af3e66", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::f64::NAN`
[INFO] [stdout]  --> src/indicators/moving_average.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::NAN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaperformance.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaperformance.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QAPerformance_Single` should have an upper camel case name
[INFO] [stdout]   --> src/qaperformance.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct QAPerformance_Single {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaperformanceSingle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quantaxis-rs v0.3.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 43 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 65 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 prev_close => {
[INFO] [stdout]    |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 92 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/indicators/true_range.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 prev_close => {
[INFO] [stdout]     |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 115 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]     |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `message`
[INFO] [stdout]   --> src/qaposition.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) fn message(&self) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 50 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReaderBuilder`, `WriterBuilder`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use csv::{ReaderBuilder, WriterBuilder};
[INFO] [stdout]    |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> src/main.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::prelude::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stopwatch::Stopwatch`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stopwatch::Stopwatch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar`
[INFO] [stdout]   --> src/main.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_bar`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `message`
[INFO] [stdout]   --> src/qaposition.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) fn message(&self) {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `create`
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn create() -> Self {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `init`
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn init(&mut self) {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `on_bar`
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `run`
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn run(&mut self) {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `day_open`
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn day_open(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `day_close`
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn day_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `on_backtest_close`
[INFO] [stdout]   --> src/main.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn on_backtest_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 58 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/qadata.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/t01b2D.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max`, `min`
[INFO] [stdout]  --> examples/t01b2D.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> examples/t01b2D.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `indicators`, `qadata`, `qaindicator`, `qaposition`, `transaction`
[INFO] [stdout]   --> examples/t01b2D.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     indicators, Next, qaaccount, qadata, qafetch, qaindicator, qaposition, transaction,
[INFO] [stdout]    |     ^^^^^^^^^^                   ^^^^^^           ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BollingerBands`, `EfficiencyRatio`, `ExponentialMovingAverage`, `FastStochastic`, `Maximum`, `Minimum`, `MoneyFlowIndex`, `MovingAverageConvergenceDivergence`, `OnBalanceVolume`, `RateOfChange`, `RelativeStrengthIndex`, `SimpleMovingAverage`, `SlowStochastic`, `StandardDeviation`, `TrueRange`
[INFO] [stdout]   --> examples/t01b2D.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     BollingerBands, EfficiencyRatio, ExponentialMovingAverage, FastStochastic, HHV, LLV,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     Maximum, Minimum, MoneyFlowIndex, MovingAverage,
[INFO] [stdout]    |     ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     MovingAverageConvergenceDivergence, OnBalanceVolume, RateOfChange, RelativeStrengthIndex, SimpleMovingAverage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     SlowStochastic, StandardDeviation, TrueRange,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quantaxis_rs::qaposition::QA_Postions`
[INFO] [stdout]   --> examples/t01b2D.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use quantaxis_rs::qaposition::QA_Postions;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> examples/t01b2D.rs:163:28
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 stopLine = (HAE * (1.0 - TrailingStop1 / 1000.0));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> examples/t01b2D.rs:191:28
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 stopLine = (LAE * (1.0 + TrailingStop1 / 1000.0));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_traits::real::Real`
[INFO] [stdout]  --> examples/qadata.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use num_traits::real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Builder`
[INFO] [stdout]  --> examples/asynctest.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::runtime::Builder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> examples/asynctest.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task`
[INFO] [stdout]  --> examples/asynctest.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::task;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> examples/asynctest.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> examples/asynctest.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/asynctest.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> examples/asynctest.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime`
[INFO] [stdout]  --> examples/asynctest.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/t01b2.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max`, `min`
[INFO] [stdout]  --> examples/t01b2.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> examples/t01b2.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `indicators`, `qadata`, `qaindicator`, `qaposition`, `transaction`
[INFO] [stdout]   --> examples/t01b2.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     indicators, Next, qaaccount, qadata, qafetch, qaindicator, qaposition, transaction,
[INFO] [stdout]    |     ^^^^^^^^^^                   ^^^^^^           ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BollingerBands`, `EfficiencyRatio`, `ExponentialMovingAverage`, `FastStochastic`, `Maximum`, `Minimum`, `MoneyFlowIndex`, `MovingAverageConvergenceDivergence`, `OnBalanceVolume`, `RateOfChange`, `RelativeStrengthIndex`, `SimpleMovingAverage`, `SlowStochastic`, `StandardDeviation`, `TrueRange`
[INFO] [stdout]   --> examples/t01b2.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     BollingerBands, EfficiencyRatio, ExponentialMovingAverage, FastStochastic, HHV, LLV,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     Maximum, Minimum, MoneyFlowIndex, MovingAverage,
[INFO] [stdout]    |     ^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     MovingAverageConvergenceDivergence, OnBalanceVolume, RateOfChange, RelativeStrengthIndex, SimpleMovingAverage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     SlowStochastic, StandardDeviation, TrueRange,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quantaxis_rs::qaposition::QA_Postions`
[INFO] [stdout]   --> examples/t01b2.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use quantaxis_rs::qaposition::QA_Postions;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> examples/t01b2.rs:165:28
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 stopLine = (HAE * (1.0 - TrailingStop1 / 1000.0));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:168:16
[INFO] [stdout]     |
[INFO] [stdout] 168 |             if (crossUnder && cond2) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:177:23
[INFO] [stdout]     |
[INFO] [stdout] 177 |             } else if (bar.low < stopLine) {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |         if (short_pos > 0.0 && long_pos == 0.0) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:192:16
[INFO] [stdout]     |
[INFO] [stdout] 192 |               if (LAE >= (acc.get_open_price_short(code) * (1.0 - TrailingStart1 / 1000.0) as f64)
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 193 | |                 && bar_id - count1 >= 1)
[INFO] [stdout]     | |________________________________________^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 192 |             if LAE >= (acc.get_open_price_short(code) * (1.0 - TrailingStart1 / 1000.0) as f64)
[INFO] [stdout] 193 |                 && bar_id - count1 >= 1
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> examples/t01b2.rs:195:28
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 stopLine = (LAE * (1.0 + TrailingStop1 / 1000.0));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |             } else if (bar.high >= stopLine) {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> examples/t01b2.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 |         if (short_pos == 0.0 && long_pos == 0.0) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/x2.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> examples/x2.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> examples/x2.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> examples/x2.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime`
[INFO] [stdout]  --> examples/x2.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Builder`
[INFO] [stdout]  --> examples/x2.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::runtime::Builder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> examples/x2.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `some_computation`
[INFO] [stdout]   --> examples/asynctest.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn some_computation() -> String {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime::Builder`
[INFO] [stdout]  --> examples/x1.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::runtime::Builder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> examples/x1.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> examples/x1.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> examples/x1.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> examples/x1.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::runtime`
[INFO] [stdout]  --> examples/x1.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::runtime;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]   --> examples/x1.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ops::DerefMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `priceoffset`
[INFO] [stdout]   --> examples/t01b2D.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let priceoffset = 1;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priceoffset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count1`
[INFO] [stdout]   --> examples/t01b2D.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let count1 = 0;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_count1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_llv`
[INFO] [stdout]    --> examples/t01b2D.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let ind_llv = llv_i.next(bar.low);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_llv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_hhv`
[INFO] [stdout]    --> examples/t01b2D.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let ind_hhv = hhv_i.next(bar.high);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_hhv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_ma`
[INFO] [stdout]    --> examples/t01b2D.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let ind_ma = ma.next(bar.open);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_ma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `priceoffset`
[INFO] [stdout]   --> examples/t01b2.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let priceoffset = 2;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priceoffset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_llv`
[INFO] [stdout]    --> examples/t01b2.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let ind_llv = llv_i.next(bar.low);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_llv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_hhv`
[INFO] [stdout]    --> examples/t01b2.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let ind_hhv = hhv_i.next(bar.high);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_hhv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ind_ma`
[INFO] [stdout]    --> examples/t01b2.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let ind_ma = ma.next(bar.open);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ind_ma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]   --> examples/x2.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let (acc, code) = join.await.unwrap();
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> examples/x2.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let (acc, code) = join.await.unwrap();
[INFO] [stdout]    |               ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc2`
[INFO] [stdout]   --> examples/x2.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let (acc2, code2) = join2.await.unwrap();
[INFO] [stdout]    |          ^^^^ help: if this is intentional, prefix it with an underscore: `_acc2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code2`
[INFO] [stdout]   --> examples/x2.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let (acc2, code2) = join2.await.unwrap();
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_code2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]   --> examples/x1.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let order = acc_mut.send_order_async(&code, 10.0, "2020-01-20 22:10:00", 2, 3500.0, "BUY_OPEN");
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lossP` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let lossP = 1.3;
[INFO] [stdout]    |         ^^^^^ help: convert the identifier to snake case: `loss_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let K1: usize = 20;
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case (notice the capitalization): `k1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K2` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let K2: usize = 20;
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case (notice the capitalization): `k2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HAE` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut HAE: f64 = 0 as f64;
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `hae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LAE` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut LAE: f64 = 0 as f64;
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `lae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TrailingStart1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let TrailingStart1 = 90.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `trailing_start1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TrailingStop1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let TrailingStop1 = 10.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `trailing_stop1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `crossOver` should have a snake case name
[INFO] [stdout]    --> examples/t01b2.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let crossOver = bar.high > hhv_i.cached[K1 - 2] && lastbar.high < hhv_i.cached[K1 - 2];
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `cross_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `crossUnder` should have a snake case name
[INFO] [stdout]    --> examples/t01b2.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let crossUnder = bar.low < llv_i.cached[K2 - 2] && lastbar.low > llv_i.cached[K2 - 2];
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `cross_under`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `some_computation`
[INFO] [stdout]   --> examples/x2.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn some_computation() -> String {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 | /                 acc.buy_open(
[INFO] [stdout] 136 | |                     bar.code.as_ref(),
[INFO] [stdout] 137 | |                     90.0,
[INFO] [stdout] 138 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 139 | |                     compare_max(bar.open, hhv_i.cached[K1 - 2]),
[INFO] [stdout] 140 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 | /                 acc.sell_open(
[INFO] [stdout] 147 | |                     bar.code.as_ref(),
[INFO] [stdout] 148 | |                     90.0,
[INFO] [stdout] 149 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 150 | |                     compare_min(bar.open, llv_i.cached[K2 - 2]),
[INFO] [stdout] 151 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stopLine` should have a snake case name
[INFO] [stdout]    --> examples/t01b2.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 |             let mut stopLine: f64 = acc.get_open_price_long(code) * (100.0 - lossP) / 100.0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `stop_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 | /                 acc.sell_close(
[INFO] [stdout] 172 | |                     code,
[INFO] [stdout] 173 | |                     90.0,
[INFO] [stdout] 174 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 175 | |                     compare_min(bar.open, llv_i.cached[K2 - 2]),
[INFO] [stdout] 176 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 | /                 acc.sell_close(
[INFO] [stdout] 181 | |                     code,
[INFO] [stdout] 182 | |                     90.0,
[INFO] [stdout] 183 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 184 | |                     compare_min(bar.open, stopLine),
[INFO] [stdout] 185 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stopLine` should have a snake case name
[INFO] [stdout]    --> examples/t01b2.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let mut stopLine: f64 = acc.get_open_price_short(code) * (100.0 + lossP) / 100.0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `stop_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:199:17
[INFO] [stdout]     |
[INFO] [stdout] 199 | /                 acc.buy_close(
[INFO] [stdout] 200 | |                     code,
[INFO] [stdout] 201 | |                     90.0,
[INFO] [stdout] 202 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 203 | |                     compare_max(bar.open, hhv_i.cached[K1 - 2]),
[INFO] [stdout] 204 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:207:17
[INFO] [stdout]     |
[INFO] [stdout] 207 | /                 acc.buy_close(
[INFO] [stdout] 208 | |                     code,
[INFO] [stdout] 209 | |                     90.0,
[INFO] [stdout] 210 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 211 | |                     compare_max(bar.open, stopLine),
[INFO] [stdout] 212 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2.rs:235:5
[INFO] [stdout]     |
[INFO] [stdout] 235 |     acc.to_csv();
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/x1.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut ac1= ac.clone();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `some_computation`
[INFO] [stdout]   --> examples/x1.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn some_computation() -> String {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `t01b2D` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `t01b2_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `lossP` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let lossP = 1.3;
[INFO] [stdout]    |         ^^^^^ help: convert the identifier to snake case: `loss_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let K1: usize = 20;
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case (notice the capitalization): `k1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K2` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let K2: usize = 20;
[INFO] [stdout]    |         ^^ help: convert the identifier to snake case (notice the capitalization): `k2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HAE` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut HAE: f64 = 0 as f64;
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `hae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LAE` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let mut LAE: f64 = 0 as f64;
[INFO] [stdout]    |             ^^^ help: convert the identifier to snake case: `lae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TrailingStart1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let TrailingStart1 = 90.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `trailing_start1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TrailingStop1` should have a snake case name
[INFO] [stdout]   --> examples/t01b2D.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let TrailingStop1 = 10.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `trailing_stop1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `crossOver` should have a snake case name
[INFO] [stdout]    --> examples/t01b2D.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let crossOver = bar.high > hhv_i.cached[K1 - 2] && lastbar.high < hhv_i.cached[K1 - 2];
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `cross_over`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `crossUnder` should have a snake case name
[INFO] [stdout]    --> examples/t01b2D.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let crossUnder = bar.low < llv_i.cached[K2 - 2] && lastbar.low > llv_i.cached[K2 - 2];
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `cross_under`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:139:17
[INFO] [stdout]     |
[INFO] [stdout] 139 | /                 acc.buy_open(
[INFO] [stdout] 140 | |                     bar.code.as_ref(),
[INFO] [stdout] 141 | |                     10.0,
[INFO] [stdout] 142 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 143 | |                     compare_max(bar.open, hhv_i.cached[K1 - 2]),
[INFO] [stdout] 144 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 | /                 acc.sell_open(
[INFO] [stdout] 147 | |                     bar.code.as_ref(),
[INFO] [stdout] 148 | |                     10.0,
[INFO] [stdout] 149 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 150 | |                     compare_min(bar.open, llv_i.cached[K2 - 2]),
[INFO] [stdout] 151 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stopLine` should have a snake case name
[INFO] [stdout]    --> examples/t01b2D.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 157 |             let mut stopLine: f64 = acc.get_open_price_long(code) * (100.0 - lossP) / 100.0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `stop_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:168:17
[INFO] [stdout]     |
[INFO] [stdout] 168 | /                 acc.sell_close(
[INFO] [stdout] 169 | |                     code,
[INFO] [stdout] 170 | |                     10.0,
[INFO] [stdout] 171 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 172 | |                     compare_min(bar.open, llv_i.cached[K2 - 2]),
[INFO] [stdout] 173 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 | /                 acc.sell_close(
[INFO] [stdout] 177 | |                     code,
[INFO] [stdout] 178 | |                     10.0,
[INFO] [stdout] 179 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 180 | |                     compare_min(bar.open, stopLine),
[INFO] [stdout] 181 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stopLine` should have a snake case name
[INFO] [stdout]    --> examples/t01b2D.rs:186:21
[INFO] [stdout]     |
[INFO] [stdout] 186 |             let mut stopLine: f64 = acc.get_open_price_short(code) * (100.0 + lossP) / 100.0;
[INFO] [stdout]     |                     ^^^^^^^^ help: convert the identifier to snake case: `stop_line`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 | /                 acc.buy_close(
[INFO] [stdout] 196 | |                     code,
[INFO] [stdout] 197 | |                     10.0,
[INFO] [stdout] 198 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 199 | |                     compare_max(bar.open, hhv_i.cached[K1 - 2]),
[INFO] [stdout] 200 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 | /                 acc.buy_close(
[INFO] [stdout] 206 | |                     code,
[INFO] [stdout] 207 | |                     10.0,
[INFO] [stdout] 208 | |                     bar.datetime.as_ref(),
[INFO] [stdout] 209 | |                     compare_max(bar.open, stopLine),
[INFO] [stdout] 210 | |                 );
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/t01b2D.rs:229:5
[INFO] [stdout]     |
[INFO] [stdout] 229 |     acc.to_csv();
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::NAN`
[INFO] [stdout]  --> src/indicators/moving_average.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::NAN;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition
[INFO] [stdout]    --> src/indicators/money_flow_index.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 153 | /     macro_rules! test_indicator {
[INFO] [stdout] 154 | |         ($i:tt) => {
[INFO] [stdout] 155 | |             #[test]
[INFO] [stdout] 156 | |             fn test_indicator() {
[INFO] [stdout] ...   |
[INFO] [stdout] 175 | |         };
[INFO] [stdout] 176 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaperformance.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaperformance.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QAPerformance_Single` should have an upper camel case name
[INFO] [stdout]   --> src/qaperformance.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct QAPerformance_Single {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaperformanceSingle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaaccount::QA_Account`
[INFO] [stdout]     --> src/trade_date.rs:1044:9
[INFO] [stdout]      |
[INFO] [stdout] 1044 |     use crate::qaaccount::QA_Account;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReaderBuilder`, `WriterBuilder`
[INFO] [stdout]   --> src/main.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | use csv::{ReaderBuilder, WriterBuilder};
[INFO] [stdout]    |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array`, `stack`
[INFO] [stdout]   --> src/main.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ndarray::{array, stack};
[INFO] [stdout]    |               ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::prelude::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ndarray::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stopwatch::Stopwatch`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stopwatch::Stopwatch;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/qaaccount.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qaaccount.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::format::ParseError`
[INFO] [stdout]  --> src/qaaccount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::format::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `FixedOffset`, `NaiveDateTime`, `NaiveDate`, `NaiveTime`
[INFO] [stdout]  --> src/qaaccount.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^         ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]   --> src/qaaccount.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde_json::to_string;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CodePreset`
[INFO] [stdout]   --> src/qaaccount.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::market_preset::{CodePreset, MarketPreset};
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaposition`
[INFO] [stdout]   --> src/qaaccount.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::qaposition;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account_info` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct account_info {
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountInfo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `account` should have an upper camel case name
[INFO] [stdout]   --> src/qaaccount.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct account {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Account` should have an upper camel case name
[INFO] [stdout]    --> src/qaaccount.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct QA_Account {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to upper camel case: `QaAccount`
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/qaaccount.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[warn(non_camel_case_types)]
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:886:23
[INFO] [stdout]     |
[INFO] [stdout] 886 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaaccount.rs:959:23
[INFO] [stdout]     |
[INFO] [stdout] 959 |         self.money -= (margin - close_profit + commission + tax);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::array`
[INFO] [stdout]  --> src/qadata.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ndarray::array;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/qafetch.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/qafetch.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/qafetch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaorder::QAOrder`
[INFO] [stdout]  --> src/qaposition.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::qaorder::QAOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Frozen` should have an upper camel case name
[INFO] [stdout]  --> src/qaposition.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct QA_Frozen {
[INFO] [stdout]   |            ^^^^^^^^^ help: convert the identifier to upper camel case: `QaFrozen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `QA_Postions` should have an upper camel case name
[INFO] [stdout]   --> src/qaposition.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QA_Postions {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `QaPostions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:237:33
[INFO] [stdout]     |
[INFO] [stdout] 237 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:240:34
[INFO] [stdout]     |
[INFO] [stdout] 240 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:246:33
[INFO] [stdout]     |
[INFO] [stdout] 246 |         self.volume_long_his += (self.volume_long_today + self.volume_long_frozen_today);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/qaposition.rs:249:34
[INFO] [stdout]     |
[INFO] [stdout] 249 |         self.volume_short_his += (self.volume_short_today + self.volume_short_frozen_today);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Offset`
[INFO] [stdout]  --> src/transaction.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Offset, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_string`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/trade_date.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/trade_date.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/trade_date.rs:941:19
[INFO] [stdout]     |
[INFO] [stdout] 941 |         let day = (date - year * 10000 - month * 100);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::qaaccount::QA_Account`
[INFO] [stdout]     --> src/trade_date.rs:1044:9
[INFO] [stdout]      |
[INFO] [stdout] 1044 |     use crate::qaaccount::QA_Account;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar`
[INFO] [stdout]   --> src/main.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_bar`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]     --> src/qaaccount.rs:1001:17
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         let mut acc = QA_Account::new("RustT01B2_RBL8", "test", "admin", 100000.0, false, "real");
[INFO] [stdout]      |                 ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]     --> src/qaaccount.rs:1276:13
[INFO] [stdout]      |
[INFO] [stdout] 1276 |         let slice = acc.get_qifi_slice();
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]     --> src/qaaccount.rs:1295:13
[INFO] [stdout]      |
[INFO] [stdout] 1295 |         let slice = acc.get_qifi_slice();
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:991:13
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut acc = QA_Account::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/qaaccount.rs:1001:13
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         let mut acc = QA_Account::new("RustT01B2_RBL8", "test", "admin", 100000.0, false, "real");
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:466:13
[INFO] [stdout]     |
[INFO] [stdout] 466 |         let mut pos = QA_Postions::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:481:13
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let mut pos = QA_Postions::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 43 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 prev => (input - prev).abs(),
[INFO] [stdout]    |                 ---- matches any value
[INFO] [stdout] 65 |                 _ => 0.0
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/indicators/true_range.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 prev_close => {
[INFO] [stdout]    |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 92 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]    |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/indicators/true_range.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 prev_close => {
[INFO] [stdout]     |                 ---------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 115 |                 _ => bar.high() - bar.low(),
[INFO] [stdout]     |                 ^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_id`
[INFO] [stdout]    --> src/qaaccount.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         order_id: &str,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `realorder_id`
[INFO] [stdout]    --> src/qaaccount.rs:856:9
[INFO] [stdout]     |
[INFO] [stdout] 856 |         realorder_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_realorder_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]     --> src/qaaccount.rs:1001:17
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         let mut acc = QA_Account::new("RustT01B2_RBL8", "test", "admin", 100000.0, false, "real");
[INFO] [stdout]      |                 ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]     --> src/qaaccount.rs:1276:13
[INFO] [stdout]      |
[INFO] [stdout] 1276 |         let slice = acc.get_qifi_slice();
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice`
[INFO] [stdout]     --> src/qaaccount.rs:1295:13
[INFO] [stdout]      |
[INFO] [stdout] 1295 |         let slice = acc.get_qifi_slice();
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `create`
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn create() -> Self {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `init`
[INFO] [stdout]   --> src/main.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn init(&mut self) {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `on_bar`
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn on_bar(&mut self, bar: qafetch::BAR) {}
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `run`
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn run(&mut self) {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `day_open`
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn day_open(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `day_close`
[INFO] [stdout]   --> src/main.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn day_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `on_backtest_close`
[INFO] [stdout]   --> src/main.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn on_backtest_close(&mut self) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:980:17
[INFO] [stdout]     |
[INFO] [stdout] 980 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:991:17
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]    --> src/trade_date.rs:999:17
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let mut res = 0;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]     --> src/trade_date.rs:1014:17
[INFO] [stdout]      |
[INFO] [stdout] 1014 |         let mut res = 0;
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1052:9
[INFO] [stdout]      |
[INFO] [stdout] 1052 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1071:9
[INFO] [stdout]      |
[INFO] [stdout] 1071 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1090:9
[INFO] [stdout]      |
[INFO] [stdout] 1090 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1109:9
[INFO] [stdout]      |
[INFO] [stdout] 1109 |         acc.sell_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1127:9
[INFO] [stdout]      |
[INFO] [stdout] 1127 |         acc.sell_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1129:9
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         acc.buy_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1149:9
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1151:9
[INFO] [stdout]      |
[INFO] [stdout] 1151 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1171:9
[INFO] [stdout]      |
[INFO] [stdout] 1171 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1175:9
[INFO] [stdout]      |
[INFO] [stdout] 1175 |         acc.sell_close(code, 1000.0, "2020-01-20", 36.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1192:9
[INFO] [stdout]      |
[INFO] [stdout] 1192 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1203:9
[INFO] [stdout]      |
[INFO] [stdout] 1203 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1207:9
[INFO] [stdout]      |
[INFO] [stdout] 1207 |         acc.sell(code, 10.0, "2020-01-22 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1217:9
[INFO] [stdout]      |
[INFO] [stdout] 1217 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1220:9
[INFO] [stdout]      |
[INFO] [stdout] 1220 |         acc.sell(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_accountSlice` should have a snake case name
[INFO] [stdout]     --> src/qaaccount.rs:1225:8
[INFO] [stdout]      |
[INFO] [stdout] 1225 |     fn test_accountSlice() {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_account_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1238:9
[INFO] [stdout]      |
[INFO] [stdout] 1238 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1242:9
[INFO] [stdout]      |
[INFO] [stdout] 1242 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_accountSlice_for_qifi` should have a snake case name
[INFO] [stdout]     --> src/qaaccount.rs:1252:8
[INFO] [stdout]      |
[INFO] [stdout] 1252 |     fn test_accountSlice_for_qifi() {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_account_slice_for_qifi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1257:9
[INFO] [stdout]      |
[INFO] [stdout] 1257 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1261:9
[INFO] [stdout]      |
[INFO] [stdout] 1261 |         acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1275:9
[INFO] [stdout]      |
[INFO] [stdout] 1275 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1281:9
[INFO] [stdout]      |
[INFO] [stdout] 1281 |         new_acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1294:9
[INFO] [stdout]      |
[INFO] [stdout] 1294 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1300:9
[INFO] [stdout]      |
[INFO] [stdout] 1300 |         new_acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1318:9
[INFO] [stdout]      |
[INFO] [stdout] 1318 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1322:9
[INFO] [stdout]      |
[INFO] [stdout] 1322 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1345:9
[INFO] [stdout]      |
[INFO] [stdout] 1345 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1352:9
[INFO] [stdout]      |
[INFO] [stdout] 1352 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1369:9
[INFO] [stdout]      |
[INFO] [stdout] 1369 |         acc.buy_open(code, 10.0, "2020-01-22", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1398:9
[INFO] [stdout]      |
[INFO] [stdout] 1398 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1404:9
[INFO] [stdout]      |
[INFO] [stdout] 1404 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1428:9
[INFO] [stdout]      |
[INFO] [stdout] 1428 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1430:9
[INFO] [stdout]      |
[INFO] [stdout] 1430 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1435:9
[INFO] [stdout]      |
[INFO] [stdout] 1435 |         acc.to_csv();
[INFO] [stdout]      |         ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1449:9
[INFO] [stdout]      |
[INFO] [stdout] 1449 |         acc.buy_open("rb2005", 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let mut acc = Self {
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaaccount.rs:991:13
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut acc = QA_Account::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/qaaccount.rs:1001:13
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         let mut acc = QA_Account::new("RustT01B2_RBL8", "test", "admin", 100000.0, false, "real");
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/qaposition.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut preset: CodePreset = MarketPreset::new().get(code.as_ref());
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:466:13
[INFO] [stdout]     |
[INFO] [stdout] 466 |         let mut pos = QA_Postions::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/qaposition.rs:481:13
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let mut pos = QA_Postions::new(
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]   --> src/qadata.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LLV_Indicator` should have a snake case name
[INFO] [stdout]    --> src/indicators/llv.rs:227:17
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let mut LLV_Indicator = LLV::new(3).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: convert the identifier to snake case: `llv_indicator`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LLV_Indicator` should have a snake case name
[INFO] [stdout]    --> src/indicators/llv.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let mut LLV_Indicator = LLV::new_init(2, vec![3.0,4.0,3.0]).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: convert the identifier to snake case: `llv_indicator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `LLV_Indicator` should have a snake case name
[INFO] [stdout]    --> src/indicators/llv.rs:262:17
[INFO] [stdout]     |
[INFO] [stdout] 262 |         let mut LLV_Indicator = LLV::new_init(4, vec![4.0,6.0,3.0]).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: convert the identifier to snake case: `llv_indicator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WithdrawQuota` should have a snake case name
[INFO] [stdout]   --> src/qaaccount.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub WithdrawQuota: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `withdraw_quota`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_codeSubscribed` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:518:12
[INFO] [stdout]     |
[INFO] [stdout] 518 |     pub fn get_codeSubscribed(&mut self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_code_subscribed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `codeSub` should have a snake case name
[INFO] [stdout]    --> src/qaaccount.rs:524:17
[INFO] [stdout]     |
[INFO] [stdout] 524 |         let mut codeSub = vec![];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `code_sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1052:9
[INFO] [stdout]      |
[INFO] [stdout] 1052 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1071:9
[INFO] [stdout]      |
[INFO] [stdout] 1071 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1090:9
[INFO] [stdout]      |
[INFO] [stdout] 1090 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1109:9
[INFO] [stdout]      |
[INFO] [stdout] 1109 |         acc.sell_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1127:9
[INFO] [stdout]      |
[INFO] [stdout] 1127 |         acc.sell_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1129:9
[INFO] [stdout]      |
[INFO] [stdout] 1129 |         acc.buy_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1149:9
[INFO] [stdout]      |
[INFO] [stdout] 1149 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1151:9
[INFO] [stdout]      |
[INFO] [stdout] 1151 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1171:9
[INFO] [stdout]      |
[INFO] [stdout] 1171 |         acc.buy_open(code, 1000.0, "2020-01-20", 35.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1175:9
[INFO] [stdout]      |
[INFO] [stdout] 1175 |         acc.sell_close(code, 1000.0, "2020-01-20", 36.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1192:9
[INFO] [stdout]      |
[INFO] [stdout] 1192 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1203:9
[INFO] [stdout]      |
[INFO] [stdout] 1203 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1207:9
[INFO] [stdout]      |
[INFO] [stdout] 1207 |         acc.sell(code, 10.0, "2020-01-22 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1217:9
[INFO] [stdout]      |
[INFO] [stdout] 1217 |         acc.buy(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1220:9
[INFO] [stdout]      |
[INFO] [stdout] 1220 |         acc.sell(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_accountSlice` should have a snake case name
[INFO] [stdout]     --> src/qaaccount.rs:1225:8
[INFO] [stdout]      |
[INFO] [stdout] 1225 |     fn test_accountSlice() {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_account_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1238:9
[INFO] [stdout]      |
[INFO] [stdout] 1238 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1242:9
[INFO] [stdout]      |
[INFO] [stdout] 1242 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_accountSlice_for_qifi` should have a snake case name
[INFO] [stdout]     --> src/qaaccount.rs:1252:8
[INFO] [stdout]      |
[INFO] [stdout] 1252 |     fn test_accountSlice_for_qifi() {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_account_slice_for_qifi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1257:9
[INFO] [stdout]      |
[INFO] [stdout] 1257 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1261:9
[INFO] [stdout]      |
[INFO] [stdout] 1261 |         acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1275:9
[INFO] [stdout]      |
[INFO] [stdout] 1275 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1281:9
[INFO] [stdout]      |
[INFO] [stdout] 1281 |         new_acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1294:9
[INFO] [stdout]      |
[INFO] [stdout] 1294 |         acc.buy_open(code, 10.0, "2020-01-20 22:10:00", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1300:9
[INFO] [stdout]      |
[INFO] [stdout] 1300 |         new_acc.sell_close(code, 10.0, "2020-01-20 22:10:00", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1318:9
[INFO] [stdout]      |
[INFO] [stdout] 1318 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1322:9
[INFO] [stdout]      |
[INFO] [stdout] 1322 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1345:9
[INFO] [stdout]      |
[INFO] [stdout] 1345 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1352:9
[INFO] [stdout]      |
[INFO] [stdout] 1352 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1369:9
[INFO] [stdout]      |
[INFO] [stdout] 1369 |         acc.buy_open(code, 10.0, "2020-01-22", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1398:9
[INFO] [stdout]      |
[INFO] [stdout] 1398 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1404:9
[INFO] [stdout]      |
[INFO] [stdout] 1404 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1428:9
[INFO] [stdout]      |
[INFO] [stdout] 1428 |         acc.buy_open(code, 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1430:9
[INFO] [stdout]      |
[INFO] [stdout] 1430 |         acc.sell_close(code, 10.0, "2020-01-20", 3600.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1435:9
[INFO] [stdout]      |
[INFO] [stdout] 1435 |         acc.to_csv();
[INFO] [stdout]      |         ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> src/qaaccount.rs:1449:9
[INFO] [stdout]      |
[INFO] [stdout] 1449 |         acc.buy_open("rb2005", 10.0, "2020-01-20", 3500.0);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout] 298 |         acc.sell_open(code, 10.0, "2020-01-20 09:30:22", 3500.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |         acc.buy_open(code, 10.0, "2020-01-20 09:52:00", 3500.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 |         acc.buy_close(code, 10.0, "2020-01-20 10:22:00", 3600.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 |         acc.buy_open(code, 10.0, "2020-01-20 13:54:00", 3500.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:304:9
[INFO] [stdout]     |
[INFO] [stdout] 304 |         acc.buy_open(code, 10.0, "2020-01-20 13:55:00", 3510.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |         acc.sell_close(code, 20.0, "2020-01-20 14:52:00", 3620.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |         acc.buy_open(code, 20.0, "2020-01-21 13:54:00", 3500.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |         acc.sell_close(code, 15.0, "2020-01-21 13:55:00", 3510.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:310:9
[INFO] [stdout]     |
[INFO] [stdout] 310 |         acc.sell_close(code, 5.0, "2020-01-21 14:52:00", 3420.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:333:9
[INFO] [stdout]     |
[INFO] [stdout] 333 |         acc.sell_open(code, 10.0, "2020-01-20 09:30:22", 3500.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:334:9
[INFO] [stdout]     |
[INFO] [stdout] 334 |         acc.buy_open(code, 10.0, "2020-01-20 09:52:00", 3500.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:337:9
[INFO] [stdout]     |
[INFO] [stdout] 337 |         acc.buy_close(code, 10.0, "2020-01-20 10:22:00", 3600.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:338:9
[INFO] [stdout]     |
[INFO] [stdout] 338 |         acc.buy_open(code, 10.0, "2020-01-20 13:54:00", 3500.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |         acc.buy_open(code, 10.0, "2020-01-20 13:55:00", 3510.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:341:9
[INFO] [stdout]     |
[INFO] [stdout] 341 |         acc.sell_close(code, 20.0, "2020-01-20 14:52:00", 3620.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |         acc.buy_open(code, 20.0, "2020-01-21 13:54:00", 3500.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         acc.sell_close(code, 15.0, "2020-01-21 13:55:00", 3510.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:345:9
[INFO] [stdout]     |
[INFO] [stdout] 345 |         acc.sell_close(code, 5.0, "2020-01-21 14:52:00", 3420.0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:359:9
[INFO] [stdout]     |
[INFO] [stdout] 359 |         acc.sell_open(code, 1000.0, "2020-04-03 09:30:22", 46.33);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:360:9
[INFO] [stdout]     |
[INFO] [stdout] 360 |         acc.sell_open("RB2005", 10.0, "2020-04-03 09:30:22", 3346.33);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:361:9
[INFO] [stdout]     |
[INFO] [stdout] 361 |         acc.buy_open(code, 1000.0, "2020-04-03 09:52:00", 46.86);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:363:9
[INFO] [stdout]     |
[INFO] [stdout] 363 |         acc.buy_close(code, 1000.0, "2020-04-03 10:22:00", 47.34);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |         acc.sell_close(code, 1000.0, "2020-04-03 10:22:00", 47.34);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 365 |         acc.buy_close("RB2005", 10.0, "2020-04-03 10:30:22", 3246.33);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |         acc.buy_open(code, 1000.0, "2020-04-03 13:54:00", 47.1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:367:9
[INFO] [stdout]     |
[INFO] [stdout] 367 |         acc.buy_open(code, 1000.0, "2020-04-03 13:55:00", 47.11);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:369:9
[INFO] [stdout]     |
[INFO] [stdout] 369 |         acc.sell_close(code, 2000.0, "2020-04-03 14:52:00", 47.17);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:398:9
[INFO] [stdout]     |
[INFO] [stdout] 398 |         acc.sell_open(code, 1000.0, "2020-04-03 09:30:22", 46.33);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:399:9
[INFO] [stdout]     |
[INFO] [stdout] 399 |         acc.sell_open("RB2005", 10.0, "2020-04-03 09:30:22", 3346.33);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:400:9
[INFO] [stdout]     |
[INFO] [stdout] 400 |         acc.buy_open(code, 1000.0, "2020-04-03 09:52:00", 46.86);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:402:9
[INFO] [stdout]     |
[INFO] [stdout] 402 |         acc.buy_closetoday(code, 1000.0, "2020-04-03 10:22:00", 47.34);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |         acc.sell_closetoday(code, 1000.0, "2020-04-03 10:22:00", 47.34);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:404:9
[INFO] [stdout]     |
[INFO] [stdout] 404 |         acc.buy_closetoday("RB2005", 10.0, "2020-04-03 10:30:22", 3246.33);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:405:9
[INFO] [stdout]     |
[INFO] [stdout] 405 |         acc.buy_open(code, 1000.0, "2020-04-03 13:54:00", 47.1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:406:9
[INFO] [stdout]     |
[INFO] [stdout] 406 |         acc.buy_open(code, 1000.0, "2020-04-03 13:55:00", 47.11);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/qaperformance.rs:408:9
[INFO] [stdout]     |
[INFO] [stdout] 408 |         acc.sell_closetoday(code, 2000.0, "2020-04-03 14:52:00", 47.17);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 32 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 101 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 133 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 17.14s
[INFO] running `Command { std: "docker" "inspect" "35ad0e732f72e1a95edd182260259170390c9e90752245afb4b7993a26af3e66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35ad0e732f72e1a95edd182260259170390c9e90752245afb4b7993a26af3e66", kill_on_drop: false }`
[INFO] [stdout] 35ad0e732f72e1a95edd182260259170390c9e90752245afb4b7993a26af3e66
